package com.train.order.dto.confirm;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class ConfirmOrderQueryDTO {

    /**
     * 会员id
     */
    private Long memberId;

    /**
     * 车次日期
     */
    private LocalDate date;

    /**
     * 车次
     */
    private String trainCode;

    /**
     * 订单状态|枚举[ConfirmOrderStatusEnum]
     */
    private String status;

    public ConfirmOrderQueryDTO(Long memberId, LocalDate date, String trainCode) {
        this.memberId = memberId;
        this.date = date;
        this.trainCode = trainCode;
    }
}
